home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / comm / tcp / ATCP_sdk_40_gc.lha / AmiTCP-4.0-gcc / src / rpclib / GNUmakefile < prev    next >
Makefile  |  1994-09-30  |  1KB  |  59 lines

  1. #
  2. #       $Id: GNUmakefile,v 1.2 1994/09/29 23:48:50 jraja Exp $
  3. #       GNUmakefile for AmiTCP/IP Sun RPC 4.0 library 
  4. #
  5. #       Copyright © 1994 AmiTCP/IP Group,
  6. #                        Network Solutions Development Inc.
  7. #                 All rights reserved. 
  8. #
  9.  
  10. MAKE = gmake
  11.  
  12. RM= delete
  13. RM_RECURSIVE= delete all
  14. MKDIR= makedir
  15.  
  16. DIST_LIB = $(DIST)/rpclib
  17.  
  18. RPCLIBSRC= Smakefile auth_none.c auth_unix.c authunix_prot.c \
  19.     bindresvport.c chkabort.c clnt_generic.c \
  20.     clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \
  21.     clnt_udp.c get_myaddress.c getrpcent.c getrpcport.c \
  22.     gst.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \
  23.     pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_callmsg.c \
  24.     rpc_commondata.c rpc_dtablesize.c rpc_prot.c svc.c \
  25.     svc_auth.c svc_auth_unix.c svc_raw.c svc_run.c \
  26.     svc_simple.c svc_tcp.c svc_udp.c xdr.c \
  27.     xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c \
  28.     xdr_reference.c xdr_stdio.c
  29.  
  30. SRCS=   $(RPCLIBSRC) GNUmakefile DISCLAIMER
  31.  
  32. all: 
  33.  
  34. DIST: $(DIST_LIB)
  35.  
  36. $(DIST_LIB): $(SRCS)
  37.     test -d $(DIST) || mkdir $(DIST) 
  38.     test -d $(DIST_LIB) || mkdir $(DIST_LIB)
  39.     tar cf - $(SRCS) | (cd $(DIST_LIB); tar xf -)
  40.  
  41. RELEASE: $(SRCS)
  42.     for F in $(SRCS) ; do \
  43.       rlog -R $$F && { \
  44.         if ident -q $$F | fgrep '$$' >/dev/null ; \
  45.           then rcs -q '-N$(RELEASE):$$' $$F ; \
  46.           else rcs -q '-N$(RELEASE):' $$F ;\
  47.         fi ; \
  48.           } ;\
  49.     done
  50.  
  51. locks:
  52.     @rlog -R -L $(SRCS)
  53. mylocks:
  54.     @rlog -R -l`whoami` -L $(SRCS)
  55. verlocks:
  56.     @rlog -h -L $(CSRCS)
  57.  
  58.